package main;

import java.awt.Dimension;

import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;

public class tt {
	public static void main(String[] args) {
		JFrame frame = new JFrame();
		frame.setPreferredSize(new Dimension(800,600));
		JPanel panel = new JPanel(null);
		JLabel label1 = new JLabel("Lalallalala");
		JLabel label2 = new JLabel("Pfffffffff");
		panel.add(label1);
		label1.setBounds(10,10, 40, 20);
		label2.setBounds(15,10, 40, 20);
		panel.add(label2);
		frame.add(panel);
		frame.setVisible(true);
	}

}
